﻿<UserControl x:Class="HTR.Views.PpalView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:viewModel="clr-namespace:HTR.ViewModels"
             xmlns:view="clr-namespace:HTR.Views"
             mc:Ignorable="d" Width="300">

    <UserControl.DataContext>
        <viewModel:PpalViewModel />
    </UserControl.DataContext>
    
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="AppResources.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </UserControl.Resources>
    
    <StackPanel Orientation="Vertical" Background="White">
        <!-- Encabezado -->
        <Border x:Name="Header" Background="{StaticResource BackgroundBrush}" BorderBrush="{StaticResource BorderBrush}" BorderThickness="1,1,1,1" CornerRadius="5,5,5,5">
            <DockPanel x:Name="AppTitleHeader">
                <TextBlock Text="Herramienta de Trazado de Redes" TextWrapping="Wrap" Margin="15,5,10,5" Foreground="{StaticResource HeaderFontColor}" FontSize="16" VerticalAlignment="Center"
                            FontWeight="Bold" x:Name="HeaderTextBlock" />
            </DockPanel>
        </Border>
        
        <!-- Contenido -->
        <view:BocaRegistroView />
        <view:CamaraInspeccionView />
    </StackPanel>
</UserControl>
